package com.gmall.model.product;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gmall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * BaseCategory
 * </p>
 *
 */
@Data
@ApiModel(description = "商品分类")
@TableName("base_category")
public class BaseCategory extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "分类名称")
	@TableField("name")
	private String name;

	@ApiModelProperty(value = "分类编号")
	@TableField("parent_id")
	private Long parentID;

	@ApiModelProperty(value = "级别")
	@TableField("level")
	private Long level;

}

